﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Collections.ObjectModel;
using System.Windows.Media.Imaging;

namespace FIFP.DashBoard.Model
{
    public class MenuItem
    {
        public MenuItem()
        {
            this.SubItems = new ObservableCollection<MenuItem>();
        }
        public string Text
        {
            get;
            set;
        }
        public Uri IconUrl
        {
            get;
            set;
        }
        public bool IsSeparator
        {
            get;
            set;
        }
        public Image Icon
        {
            get
            {
                return new Image()
                {
                    Source = new BitmapImage(this.IconUrl)
                };
            }
        }
        public ObservableCollection<MenuItem> SubItems
        {
            get;
            set;
        }



    }
}
